package bavaria.hightech.konditionen;

public class GiroZinsen {
	
	private static GiroZinsen instance = null;
	private double habenzins;
	private double sollzins;
	
	private GiroZinsen(){
		this.habenzins = 1.2;
		this.sollzins = 12.5;
	}
	
	public static GiroZinsen getInstance(){
		if(instance == null)
			instance = new GiroZinsen();
		return instance;
	}
	
	public void setGiroZinsen(double habenzins, double sollzins){
		this.habenzins = habenzins;
		this.sollzins = sollzins;
	}
	
	

	public double getHabenzins() {
		return habenzins;
	}

	public double getSollzins() {
		return sollzins;
	}

}
